export interface ActionItem {
  onClick?: () => void;
  label?: string;
  icon?: string;
  disabled?: boolean;
  // 业务控制是否显示
  ifShow?: boolean | ((action: ActionItem) => boolean);
  tooltip?: string;
  danger?:boolean
}

export interface TableActionProps {
  actionColumns: Array<ActionItem>;
}


